package com.ruyuan.dependency.order.service;

import com.ruyuan.dependency.order.entity.Order;
import com.ruyuan.dependency.order.vo.QueryOrderRequest;

import java.util.List;

/**
 * @author zhonghuashishan
 */
public interface OrderService {

    Order queryById(Long id);

    List<Order> queryList(QueryOrderRequest request);

    void save(Order order);

    void updataStatus(Long orderId, String oldStatus, String newStatus);
}
